package com.lg.atp.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lg.atp.dao.CaseStepDao;
import com.lg.atp.entity.TblCaseStep;
import com.lg.atp.service.ITCaseStepService;
@Service("ITCaseStepService")
public class ITCaseStepServiceImpl implements ITCaseStepService {
	@Autowired
	private CaseStepDao caseStepDao;

	@Override
	public List<TblCaseStep> selectStepByCaseId(Long caseId) {
		// TODO Auto-generated method stub
		return caseStepDao.selectStepByCaseId(caseId);
	}

	@Override
	public void saveSteps(Map<String, Object> map) {
		// TODO Auto-generated method stub
		caseStepDao.saveSteps(map);
	}

	@Override
	public void setStepInvalidate(Map<String, Object> map) {
		caseStepDao.setStepInvalidate(map);

	}

}
